Make the code match the docs in _gtk_file_system_model_clear_cache()
authorFederico Mena Quintero <federico@novell.com>
Fri, 4 Sep 2009 18:53:46 +0000 (13:53 -0500)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:06:17 +0000 (22:06 +0200)
Signed-off-by: Federico Mena Quintero <federico@novell.com>
gtk/gtkfilesystemmodel.c

index 97027d2c292f0a795692a3059b8052653168b91c..e5dad79483b04225467dc2f32ae219fd4f5b5da6 100644 (file)
@@ -1920,7 +1920,7 @@ _gtk_file_system_model_thaw_updates (GtkFileSystemModel *model)
 }
 
 /**
- * _gtk_file_system_model_clear_cached_values:
+ * _gtk_file_system_model_clear_cache:
  * @model: a #GtkFileSystemModel
  * @column: the column to clear or -1 for all columns
  *
@@ -1941,7 +1941,7 @@ _gtk_file_system_model_clear_cache (GtkFileSystemModel *model,
   g_return_if_fail (GTK_IS_FILE_SYSTEM_MODEL (model));
   g_return_if_fail (column >= -1 && (guint) column < model->n_columns);
 
-  if (column)
+  if (column > -1)
     {
       start = column;
       end = column + 1;